package com.boot.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.boot.entity.Orders;
import com.boot.entity.Stats;

import java.util.List;

/**
 * 订单表(Orders)表服务接口
 *
 * @author makejava
 * @since 2023-07-20 18:48:26
 */
public interface OrdersService extends IService<Orders> {

    /**
     * 统计消费最高的前十位用户
     * @return
     */
    List<Stats> queryOrdersAndUserSales();
}

